// 可选成员、只读成员、动态成员
export {}

interface Post {
    title: string
    content: string
    subTitle?: string
    readonly summary: string
}

function printPost(post:Post){
    console.log(post.title);
}

interface Cache {
    [prop:string]:string
}

printPost({
    title:'aa',
    content: 'da',
    summary:'ads'
})